package com.ws.service;

import com.ws.common.PaasPage;
import com.ws.entity.Book;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author ：ws
 * @date ：Created in 2023/10/24 9:50
 * @description：TODO
 * @modified By：
 * @version: 1.0.0
 */
public interface BookService {
    PaasPage<Book> getBookPage(Pageable pageable, String bookName, String author, String publisher,String statusCd);

    Book saveBook( Book book);

    Book getBookBasicInfo(Long bookId);

    void delBook(Long bookId);

    Book updateBook(Long bookId, Book book);

    List<Book> getBookList(String bookName, String author, String publisher, String statusCd);
}
